/* = Global
----------------------------------------------- */

html,
body {
	color: #4d4a71;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 14px;
	background-color: #e8e5e5;
	background-image: url(../images/bg.jpg);
	background-repeat: repeat;
}
.rounded {
	padding: 2px;
	/* Do rounding (native in Safari, Firefox and Chrome) */
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}
.center {
	text-align:center;
	margin:0 auto;
	display:block;
}
@font-face {
	font-family: 'Tifinaghe-IrcamUnicosansserif';
	src: url('t_ircam-webfont.eot?#iefix') format('embedded-opentype'), 
	     url('t_ircam-webfont.woff') format('woff'), 
	     url('t_ircam-webfont.ttf')  format('truetype'),
	     url('t_ircam-webfont.svg#Tifinaghe-IrcamUnicosansserif') format('svg');
}
input[type="submit"] {
	cursor: pointer;
}

/* Headings */
h1, h2, h3 {
	text-shadow: 0 1px 3px rgba(0, 0, 0, .15);
	text-transform:capitalize;
}
h1 {
	padding:0 0 10px 0;
	font: 30px/32px 'Museo 500', 'Lucida Grande', 'Trebuchet MS', sans-serif;
}
h2 {
	font-size:14px;
	font-weight:bold;
}

/* Text elements */
html,
body,
p {
	line-height:20px;
}
.tz{
	font-family: "Tifinaghe-IrcamUnicosansserif";
}
.rtl{
	font-family: "tahoma" !important;
	direction:rtl !important;
}
.ltr{
	direction:ltr !important;
}

/* Forms */
form.search input[type=submit] {
	margin: 0 3px 0 5px;	
	background-color: white;
	border: 1px solid #E1E1E1;
}
form.big_clean input[type="text"], form.big_clean input[type="password"], form.big_clean textarea, form.big_clean select {		
	background-color: white;
	font-size: 16px;
	border: 1px solid #E1E1E1;
	width: 100%;
	padding:0 6px;
}
form.big_clean input[type="text"], form.big_clean input[type="password"], form.big_clean select {		
	font-family: sans-serif;
	font-size: 22px;
	font-style: normal;
	height: 34px;
}
form.big_clean select {		
	font-size: 18px;
}
form.big_clean textarea {		
	font-size: 13px;
	font-family: Consolas, Monaco, monospace;
}
form.big_clean input[type="submit"], #add_new_comment input[type="submit"] {
	background-color: #6a83c0;
	border: 1px solid #E1E1E1;
	padding: 10px;
	/*height: 40px;*/
	color: white;
}
form.big_clean input[type="submit"]:hover, #add_new_comment input[type="submit"]:hover {			
	background-color: #C1D1E9;	
}
form.sidebar input[type="text"]{		
	width: 150px;
	font-size: 12px;
	height: 27px;
}
form.sidebar input[type="submit"] {
	height: 26px;
	padding:0 10px;
}

/* Links */
a {
	text-decoration: underline;
	color:#252253;
}
a:focus,
a:active,
a:hover {
	text-decoration: none;
}
a.button{
	color:#FFFFFF;
	font-size:14px;
	border: 1px solid #6A83C0;
	background-image: url(../images/bg_button.png);
	background-repeat: repeat-x;
	text-decoration:none;
	padding: 3px 10px;
	white-space: nowrap;
}
a.button:hover {
	background-image: url(../images/bg_button_hover.png);
}


/* = Header
----------------------------------------------- */
#admin_link {
	position: absolute;
	top: 0;
	right: 0;
	height: 10px;
	width: 90px;
}
#admin_link a {
	display: none;
	
}
#wrapper_header {
	background-image: url(../images/bg_sky.png);
	background-repeat: no-repeat;
	background-position: right top;
	padding: 50px 0;
}
#languages{
	padding: 0 0 27px 0;
}
#languages div{
	float: right;
}
#languages a{
	font-size: 12px;
	float: left;
	display: block;
	overflow: hidden;
	text-decoration: none;
	color:#252253;
	background:url("../images/border.png") repeat-y 0 0;
	padding:0 10px;
}
#languages a:hover{
	color:#C1D1E9;
}
#languages a.first{
	background-image: none;
}
#languages a.last{
	padding-right:0;
}
#languages a span{
	background-image: url(../images/sprites.png);
	background-repeat: no-repeat;
	width: 16px;
	height: 11px;
	float: left;
	clear:right;
	margin-right: 5px;
}
.flag_en{
	background-position: 0px 0px;
}
.flag_fr{
	background-position: -30px 0px;
}
.flag_es{
	background-position: -60px 0px;
}
.flag_tz{
	background-position: -90px 0px;
}
.flag_de{
	background-position: -120px 0px;
}
.flag_ar{
	background-position: -150px 0px;
}
#search_form {
	background-color:#FFFFFF;
	border: 5px solid #a0add0;
	height: 25px;
	float: right;
}
#search_form p.loop {
	background-image: url(../images/sprites.png);
	background-repeat: no-repeat;
	background-position: 0px -79px;
	height:14px;
	width:14px;
	line-height:0;
	float:left;
	margin: 5px 10px 0 10px;
}
#search_form input.s {
	float:left;
	border:none;
	width:250px;
	height: 20px;
	border: 1px solid #e1e1e1;
}
#alphabeth{
	padding:8px 0 0 0;
	margin-left: auto;
	margin-right: auto;
	display: table;
}
#alphabeth li{
	float:left;
	margin-left:1px;
	width:27px;
	height:24px;
	text-align:center;
	padding: 2px 0 0 0;
	background-image: url(../images/sprites.png);
	background-repeat: no-repeat;
	background-position: 0px -20px;
}
#alphabeth li.first {
	margin-left:0;
}
#alphabeth li a{
	font-style:normal;
	text-decoration:none;
	color:#292656;
	font-family: "Gentium Plus", Gentium, GentiumAlt, "Charis SIL", "Doulos SIL", "DejaVu Sans", Code2000, "TITUS Cyberbit Basic", "Arial Unicode MS", "Lucida Sans Unicode", "Chrysanthi Unicode";
	font-size:14px;
}
#alphabeth li.selected, #alphabeth li:hover{
	background-position: 0px -50px;
}
#alphabeth li a span.tz{
	font-size:18px;
	display:none;
}


/* = Sidebar
----------------------------------------------- */
#sidebar {
	background:url("../images/border.png") repeat-y 0 0;
	font-size:16px;
	font-style:italic;
	padding: 37px 0;
}
#sidebar div, #tools div{
	padding: 0 0 20px 9px;
}


/* = Tools
----------------------------------------------- */
#sidebar h2, #tools h2 {
	background-color:#c1d1e9;
	padding: 2px 0 2px 7px;
	margin: 20px 0 10px 0;
}
#sidebar h2.first, #tools h2.first {
	margin-top: 0;
}
p.tools{
	padding: 20px 0 5px;
}
p.first{
	padding-top: 0;
}
a.tools{
	color:#252253;
	font-size:14px;
	border: 1px solid #6A83C0;
	background-image: url(../images/bg_button_mini.png);
	background-repeat: repeat-x;
	text-decoration:none;
	white-space: nowrap;
	font-style:italic;
	text-transform: lowercase;
}


/* = Menu
----------------------------------------------- */
#menu {
	padding: 36px 0 10px 0;
	border-bottom: solid #98abd4 thin;
}
#menu li {
	float:left;
	margin-left:5px;
}
#menu li.social_media_menu {
	float:right;
}
a.addthis_counter, a.addthis_bubble_style {
	display:none;
}


/* = Main
----------------------------------------------- */
#wrapper_main {
	padding:0 0 50px 0;
}
#wrapper_main p{
	line-height: 1.5em;
}
#wrapper_main form label {
	display: block;
	font-size: 16px;
}
#wrapper_main form p {
	color: #666;
	font-size: 12px;
	font-style: italic;
	/*font-family: sans-serif; disabled as it causes problems with tz*/ 
}
#wrapper_main form div.row {
	margin: 0 0 10px;
	padding: 8px;
}
#page_title {
	padding:0 0 30px 0;
}


/* = Single
----------------------------------------------- */
#page_title_single {
	padding:0;
}
#single h1 {
	text-transform: capitalize;
}
#single h2 {
	padding: 20px 0 5px 0;
}
#single h4 {
	padding: 0 0 30px 0;
}
#single dl dd {
	padding: 5px 0 20px 20px;
	/*border-bottom: 1px solid #c1d1e9;*/
	margin: 0 0 1ex;
}
.small_bull_item {
	padding: 0 5px;
	margin: 0 5px 0 0;
	font-size: 10px;
	font-style: italic;
	background-color: #C1D1E9;
}
li.small_bull_item {
	float: left;
}


/* = Loop single
----------------------------------------------- */
#single ul.content_fields {
	padding: 0 0 10px 0;
}
#single ul.content_fields li{
	padding: 0 0 5px 0;
}
#single ul.content_fields li a{
	font-style:italic;
	text-decoration:underline;
}
#single a.translation_flag {
	float:left;
	padding-right: 10px;
}
#single div.translation {
	display: table-cell;
}
#single h2 {
	background-color:#c1d1e9;
	padding: 2px 0 2px 7px;
	margin: 20px 0 10px 0;
}
span.translation {
	padding: 0 10px;
	background-image: url(../images/sprites.png);
	background-repeat: no-repeat;
	width: 16px;
	height: 11px;
	vertical-align:middle;
}


/* = Category
----------------------------------------------- */
#word_loop li {
	margin: 0 0 0 20px;
	list-style-type:square;
	padding-bottom:2px;
}
#word_loop a {
	text-transform: capitalize;
	font-size: 16px;
}


/* = Comments
----------------------------------------------- */
#comments h2 {
	background-color:#c1d1e9;
	padding: 2px 0 2px 7px;
	margin: 20px 0 10px 0;
}
#comments li {
	background-color: #EDEFF4;
	border-bottom: 1px solid #E5EAF1;
	margin-top: 2px;
	padding: 5px 5px 4px;
	font-size: 12px;
}
#comments li a{
	float: left;
	margin-right: 8px;
	font-weight: bold;
}
#comments li a.author{
	font-weight: bold;
	font-family: 'Lucida Grande', 'Trebuchet MS', sans-serif;
}
#comments div.comment_container{
	display: table-cell;
	width: 890px;
}
#comments div.comment_container span p{
	font-family: "Tifinaghe-IrcamUnicosansserif";
}
#comments div.comment_container span p a{
	float:none;
}
#comments div.timestamp{
	color: #999;
	font-size: 10px;
	width: 220px;
}
#comments li.comment_form{
	background-color:#e8e4e4;
}
#comments li.comment_form textarea{
	width: 680px;
}
#comments form input[type="submit"] {		
	float:right;
}
p.form-submit {		
	float: left;
}


/* = Override comment form style
----------------------------------------------- */
#reply-title, p.logged-in-as, p.form-allowed-tags, #comments p.comment-form-comment label {
	display:none;
}


/* = add_new
----------------------------------------------- */
#add_new span.generated_tifinaghe {		
	font-size: 36px;
	padding: 26px 0 10px 0;
	display: block;
	overflow: hidden;
	line-height: 25px;
}
#add_new form fieldset input, #add_new form fieldset span, #add_new form fieldset label {
	float:left;
	font-size:12px;
}
#add_new form fieldset span {
	padding:5px 10px;
}
#ajax_loader {
	background-image: url(../images/loader.gif);
	background-repeat: no-repeat;
	background-position: right center;
	padding: 20px;	
	display:none;
}


/* = login
----------------------------------------------- */
#login_content {	
	padding: 30px 0;
}
div.janrain {	
	padding: 30px 0;
}
div.or_choice {	
	text-align: center;
}
div.or_choice h1 {	
	padding: 50px 0;
}



/* = Footer
----------------------------------------------- */
#fader {
	background-image: url(../images/bg_footer.png);
	background-repeat: no-repeat;
	height:50px;
	bottom: 77px;
	position: fixed;
}
#footer {
	border-top: solid #98abd4 thin;
	padding: 30px 0;
}
#footer_wrapper{
	display: table;
	margin: 0 auto;
}
#footer ul li {
	float:left;
	margin-left:24px;
	font-size:12px;
	color:#999999;
}
#footer ul li a {
	color:#999999;
	text-decoration:none;
}
#footer ul li a:hover {
	color:#6a83c0;
}


/* = Top applicable classes
----------------------------------------------- */
.error {
	color: #CC0033;
	font-size: 14px;
	font-weight:bold;
	border: 1px solid #CC0033;
	margin: 0 0 20px 0;
	padding: 10px;
}
.success {
	color: #339900;
	font-size: 14px;
	font-weight:bold;
	border: 1px solid #339900;
	margin: 0 0 20px 0;
	padding: 10px;
}